package org.csmzxy.class2333;
import java.io.*;
public class Example12 {
    public static void main(String[]args) throws IOException{
        try {
            FileReader reader = new FileReader("src\\file\\test04.txt");
            char[]chars =new char[3];
            int len;
            while((len=reader.read(chars))!=-1){
                System.out.println(new String(chars,0,len));
            }
        }catch (Exception e){
            e.printStackTrace();
        }
    }
}
